package util;

import tree.Tree;

public class Util {

	public static Tree stopWord;
	public static Tree kamusBahasaIndonesia;
	
	public static Tree getTreeStopWord(){
		if (stopWord==null){
			stopWord = (Tree) Tree.load("stopWord.ich");
		}
		return stopWord;
	}
	
	public static Tree getTreeKamusBahasaIndonesia(){
		if (kamusBahasaIndonesia==null){
			kamusBahasaIndonesia = (Tree) Tree.load("kamusBahasaIndonesia.ich");
		}
		return kamusBahasaIndonesia;
	}
}
